package com.companyname.projecttemplate.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import com.base.core.context.annotation.AuthenticationCheck;
import com.base.core.mvc.web.BaseWebController;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * @author start
 */
@RestController
@Tag(name = "系统管理")
public class SystemController extends BaseWebController {

	@Operation(summary = "用户管理")
	@AuthenticationCheck(true)
	@RequestMapping("/system/user/page")
	public ModelAndView userPage() {
		ModelAndView view=new ModelAndView();
		return response(view);
	}
	
	@Operation(summary = "角色管理")
	@AuthenticationCheck(true)
	@RequestMapping("/system/role/page")
	public ModelAndView rolePage() {
		ModelAndView view=new ModelAndView();
		return response(view);
	}
    
}
